// components/spring/spring.js
const config = require('../../config/config');
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    isPreview: {
      type: Boolean,
      value: false,
    },
    imgUrls: {
      type: String,
      value: ''
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    isAllScreen: config.isAllScreen,
  },

  /**
   * 组件的方法列表
   */
  methods: {
    make() {
      this.triggerEvent('make');
    },
    next(){
      this.triggerEvent('next');
    },
    // 切换对联
    changeCouplet() {
      this.triggerEvent('change')
    }
  }
})
